﻿#pragma once 
#include"CameraControl.h"
class TrackBallController :public CameraControl {
public:
	TrackBallController();
	~TrackBallController();

	void onCursor(double xpos, double ypos)override;
	void onScroll(float offset)override;
private:
	void pitch(float angle);
	void yaw(float angle);
};